type regexp/syntax.parser
35 uses
regexp/syntax (current package)
parse.go#L126: type parser struct {
parse.go#L140: func (p *parser) newRegexp(op Op) *Regexp {
parse.go#L153: func (p *parser) reuse(re *Regexp) {
parse.go#L161: func (p *parser) checkLimits(re *Regexp) {
parse.go#L169: func (p *parser) checkSize(re *Regexp) {
parse.go#L211: func (p *parser) calcSize(re *Regexp, force bool) int64 {
parse.go#L257: func (p *parser) checkHeight(re *Regexp) {
parse.go#L272: func (p *parser) calcHeight(re *Regexp, force bool) int {
parse.go#L292: func (p *parser) push(re *Regexp) *Regexp {
parse.go#L338: func (p *parser) maybeConcat(r rune, flags Flags) bool {
parse.go#L367: func (p *parser) literal(r rune) {
parse.go#L393: func (p *parser) op(op Op) *Regexp {
parse.go#L403: func (p *parser) repeat(op Op, min, max int, before, after, lastRepeat string) (string, error) {
parse.go#L476: func (p *parser) concat() *Regexp {
parse.go#L496: func (p *parser) alternate() *Regexp {
parse.go#L548: func (p *parser) collapse(subs []*Regexp, op Op) *Regexp {
parse.go#L588: func (p *parser) factor(sub []*Regexp) []*Regexp {
parse.go#L777: func (p *parser) leadingString(re *Regexp) ([]rune, Flags) {
parse.go#L789: func (p *parser) removeLeadingString(re *Regexp, n int) *Regexp {
parse.go#L826: func (p *parser) leadingRegexp(re *Regexp) *Regexp {
parse.go#L843: func (p *parser) removeLeadingRegexp(re *Regexp, reuse bool) *Regexp {
parse.go#L914: p parser
parse.go#L1101: func (p *parser) parseRepeat(s string) (min, max int, rest string, ok bool) {
parse.go#L1140: func (p *parser) parsePerlFlags(s string) (rest string, err error) {
parse.go#L1272: func (p *parser) parseInt(s string) (n int, rest string, ok bool) {
parse.go#L1329: func (p *parser) parseVerticalBar() {
parse.go#L1374: func (p *parser) swapVerticalBar() bool {
parse.go#L1410: func (p *parser) parseRightParen() error {
parse.go#L1444: func (p *parser) parseEscape(s string) (r rune, rest string, err error) {
parse.go#L1560: func (p *parser) parseClassChar(s, wholeClass string) (r rune, rest string, err error) {
parse.go#L1584: func (p *parser) parsePerlClassEscape(s string, r []rune) (out []rune, rest string) {
parse.go#L1598: func (p *parser) parseNamedClass(s string, r []rune) (out []rune, rest string, err error) {
parse.go#L1616: func (p *parser) appendGroup(r []rune, g charGroup) []rune {
parse.go#L1661: func (p *parser) parseUnicodeClass(s string, r []rune) (out []rune, rest string, err error) {
parse.go#L1734: func (p *parser) parseClass(s string) (rest string, err error) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |